package com.yupi.usercenter.constant;

/**
 * ClassName: UserConstant
 * Package: com.yupi.usercenter.constant
 * Description: 用户常量
 *
 * @Author:
 * @Create: 2024/3/16 - 16:40
 * @Version: v1.0
 */
public interface UserConstant {

    /**
     * 用户登录态 键
     */
    String USER_LOGIN_STATE = "userLoginState";

    /**
     * 普通用户角色
     */
    int DEFAULT_ROLE = 0;

    /**
     * 管理员用户角色
     */
    int ADMIN_ROLE = 1;
}
